<template>
	<div>
		<el-menu
			active-text-color="#ffd04b"
			background-color="#545c64"
			class="el-menu-vertical-demo"
			:default-active="$route.path"
			text-color="#fff"
			router
			style="height: 100vh;"
		>
			<el-menu-item index="/">
				<el-icon>
					<house />
				</el-icon>
				<span>首页</span>
			</el-menu-item>

			<el-menu-item index="/table">
				<el-icon>
					<list />
				</el-icon>
				<span>表格</span>
			</el-menu-item>
		</el-menu>
	</div>
</template>

<script lang="ts" setup>
import { House, List } from '@element-plus/icons-vue'

</script>